package edu.neusoft.springhtmldemo.mapper;

import edu.neusoft.springhtmldemo.domain.Welcome;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface WelcomeMapper {

    @Select("SELECT envTmpr FROM environmentlogentity ORDER BY id DESC LIMIT 1")
    List<Welcome> selectAll();
}
